package xjtu.zd.server.user.myself;

import xjtu.zd.server.common.CurrentUser;

import java.util.List;

public interface RUserService {
    rUser getNowUser(String id);
    List<BookDto> bookShelf(String id);
    List<WorkDto> getWorks(String id);
    void setAvatar(CurrentUser currentUser, String filename);
    void setNowUser(rUser user);
    boolean nameClash(String u_name);
    boolean emailClash(String u_email);

}
